package io.github.wanggit.demo.service_provider;


import io.github.wanggit.antrpc.commons.bean.RegisterBeanHelper;
import io.github.wanggit.demo.api.HelloService;
import org.springframework.util.ReflectionUtils;

import java.lang.reflect.Method;

public class Main {

    public static void main(String[] args) {
        Method[] methods = ReflectionUtils.getAllDeclaredMethods(HelloService.class);
        for (Method method : methods) {
            System.out.println(RegisterBeanHelper.getRegisterBeanMethod(method));
        }
    }

}
